package com.jdrx.ocp.beans.dto.platform;

import com.jdrx.platform.commons.rest.beans.dto.PageBaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotBlank;

import javax.validation.constraints.NotNull;

/**
 * 启停平台信息DTO
 */
@ApiModel(value = "UpdateUseableDTO", description = "启停平台信息DTO")
public class UpdateUseableDTO {

    @NotNull
    @ApiModelProperty(value = "平台ID", required = true)
    Long id;

    @ApiModelProperty(value = "是否启用(0表示启用；1表示禁用)", required = true)
    Integer useable;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getUseable() {
        return useable;
    }

    public void setUseable(Integer useable) {
        this.useable = useable;
    }
}
